// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import $ from 'jquery'
/* eslint-disable no-new */
import './icons'
Vue.config.productionTip = false
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
var deviceWidth = document.documentElement.clientWidth

if (deviceWidth > 750) deviceWidth = 750

document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px'

window.onresize = function () {
  var deviceWidth = document.documentElement.clientWidth

  if (deviceWidth > 750) deviceWidth = 750

  document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px'
}
